﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.AuthorizeRBAC
{
    /// <summary>
    /// 入库
    /// </summary>
    [SugarTable("Storehouses")]
    public class Storehouses
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//IsPrimaryKey 主键 

        public int StorehousesId { get; set; }

        /// <summary>
        /// 入库编码
        /// </summary>

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehousesNo { get; set; }

        /// <summary>
        /// 入库类型
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehousesType { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseName { get; set; }


        /// <summary>
        /// 仓库地址
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseAdd { get; set; }


        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime StorehouseTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseSmark { get; set; }


        /// <summary>
        /// 入库来源
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseCome { get; set; }

        /// <summary>
        /// 委外委托编码
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseNum { get; set; }

        /// <summary>
        /// 委外订单名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseMy { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseShop { get; set; }

        /// <summary>
        /// 供应商联系人
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? ShopPro { get; set; }


        /// <summary>
        /// 质检状态
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? Smark { get; set; }

        /// <summary>
        /// 入库状态
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseGo { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehousePro { get; set; }

        /// <summary>
        /// 制单部门
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string? StorehouseDep { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public int IsDel { get; set; }


    }
}
